package STUDENT.TRINHQUANGXUANDUC.OPPS.POUNDCONVERT;

public class Models {
	/***
	 * Nghiep vu kiem tra khoi luong
	 * 
	 * @param obj
	 * @return
	 */
	public boolean CheckKilogram(PoundObject obj) {
		if (obj.getKilogram() != 0) {
			return true;
		}
		return false;
	}

	/***
	 * Nghiep vu chuyen doi Pound 1 kg = 2.2 Pound
	 * 
	 * @param obj
	 * @return ket qua kieu double :D
	 */
	public double PoundConvert(PoundObject obj) {
		return (obj.getKilogram() * 2.2);
	}
}
